﻿<Page x:Class="PTCScheduler.ViewBy_WeekPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="480" d:DesignWidth="825"
	Title="Search Week">

    <Grid>
        <Grid Background="#422D9DCF">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="262*" />
                <ColumnDefinition Width="563*" />
            </Grid.ColumnDefinitions>
            <Viewbox Height="225" HorizontalAlignment="Left" Margin="6,45,0,0" Name="viewbox1" VerticalAlignment="Top" Width="247" Grid.ColumnSpan="2">
                <Calendar Height="165" Name="weekCalendar" Width="181" SelectionMode="SingleRange" SelectedDatesChanged="weekCalendar_SelectedDatesChanged"/>
            </Viewbox>
            <Label Content="Week Selection:" Height="28" Margin="6,276,0,0" Name="label1" Style="{StaticResource LabelStyle}" />
            <Label Content="Select Week: " Height="28" HorizontalAlignment="Left" Margin="6,11,0,0" Name="selectweeklbl" VerticalAlignment="Top" Style="{StaticResource LabelStyle}" />
            <TextBox Height="23" HorizontalAlignment="Left" Margin="6,310,0,0" Name="weekselecteddatesTextbox" VerticalAlignment="Top" Width="247" IsReadOnly="True" />
        </Grid>
        <Grid Margin="262,0,0,0" Background="White">
            <Grid.RowDefinitions>
                <RowDefinition Height="117*" />
                <RowDefinition Height="180*" />
                <RowDefinition Height="183*" />
            </Grid.RowDefinitions>
            <Label Content="Selected Week's Conferences:" Height="28" HorizontalAlignment="Left" Margin="0,11,0,0" Name="todaysconferenceslbl" Style="{StaticResource LabelStyle}" VerticalAlignment="Top" />
            
            <DataGrid Grid.RowSpan="3" HorizontalAlignment="Stretch" Margin="6,45,26,26" Name="weekdataGrid"
                      VerticalAlignment="Stretch" Padding="2" Style="{StaticResource DataGridViewStyle}">
                
            </DataGrid>
            <Label Content="No conferences scheduled for the selected dates." Grid.Row="1" Height="28" HorizontalAlignment="Left" Margin="6,0,0,0" Name="weeknoconferenceslbl" VerticalAlignment="Top" Style="{StaticResource LabelStyle}" Visibility="Hidden" />
            <Button Height="35" HorizontalAlignment="Right" Margin="0,7,90,0" Name="btnExport" VerticalAlignment="Top" Width="50" Click="btnExport_Click" Background="White" BorderBrush="White">
                <Image Source="/PTCScheduler_Software_Engineering;component/Images/export.jpg" />
            </Button>
            <Button Height="35" HorizontalAlignment="Right" Margin="0,7,30,0" Name="btnPrint" VerticalAlignment="Top" Width="49" Click="btnPrint_Click" Background="White" BorderBrush="White">
                <Image Source="/PTCScheduler_Software_Engineering;component/Images/print.png"></Image>
            </Button>
        </Grid>
        
    </Grid>
</Page>
